package com.navi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.socket.config.annotation.EnableWebSocket;

/**
 * Created by admin on 2017/5/31.
 */
@SpringBootApplication
@EnableAsync
@EnableAutoConfiguration
@EnableScheduling
@EnableWebSocket
public class NaviSpringBootWebApplication {

    public static void main(String[] args) throws Exception {
        //默认启动参数spring.profiles.active=chot ,不再需要修改启动main函数

        //禁用重启
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(NaviSpringBootWebApplication.class, args);

    }


}
